package com.spring.test_back_end.utils;

import io.jsonwebtoken.SignatureAlgorithm;
import io.jsonwebtoken.security.Keys;
import org.springframework.stereotype.Component;

import java.security.Key;

@Component
public class KeyUtil {


    public Key generalJwtKey() {
        return Keys.secretKeyFor(SignatureAlgorithm.HS256);
    }
}
